package net.lanelife.casino.caipiao.dto.admin;

import javax.validation.constraints.NotNull;

import net.lanelife.casino.common.dto.PersistentDTO;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

public class PaymentBankUpdateDTO extends PersistentDTO<Integer> {

	private static final long serialVersionUID = 6864844463857804781L;

	@NotNull
	private Integer id;
	
	@NotNull
	private Integer platformId;
	
	@NotBlank
	@Length(min = 2, max = 10)
	private String code;
	
	@NotBlank
	@Length(min = 2, max = 10)
	private String name;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPlatformId() {
		return platformId;
	}

	public void setPlatformId(Integer platformId) {
		this.platformId = platformId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
